package com.yilin.tms.core.entity.gps;


import org.springframework.data.mongodb.core.mapping.Document;

import org.springframework.data.annotation.Id;
import java.io.Serializable;
import java.util.Date;

@Document("gps_track")//指定数据库中的集合（相当于mysql中的表）
public class GpsPoint implements Serializable {
    @Id
    private String _id;
    private Date gpsTime;
    private Long parkingTime; //停车时长 ms
    private double[] bdLngLat;//百度经度 百度纬度
    private double[] gdLntLat;//高德经度 高德纬度
    private Double bear; //方向
    private Double speed; //速度
    private Double elevation; //海拔
    private String transportNo; //运单号
    private String truckNo; //车牌号
    private String traceId; //轨迹id 此ID为轨迹的唯一编号

    public double[] getBdLngLat() {
        return bdLngLat;
    }

    public void setBdLngLat(double[] bdLngLat) {
        this.bdLngLat = bdLngLat;
    }

    public double[] getGdLntLat() {
        return gdLntLat;
    }

    public void setGdLntLat(double[] gdLntLat) {
        this.gdLntLat = gdLntLat;
    }

    public String getTraceId() {
        return traceId;
    }

    public void setTraceId(String traceId) {
        this.traceId = traceId;
    }

    public String getTruckNo() {
        return truckNo;
    }

    public void setTruckNo(String truckNo) {
        this.truckNo = truckNo;
    }

    public Long getParkingTime() {
        return parkingTime;
    }

    public void setParkingTime(Long parkingTime) {
        this.parkingTime = parkingTime;
    }

    public String getTransportNo() {
        return transportNo;
    }

    public void setTransportNo(String transportNo) {
        this.transportNo = transportNo;
    }

    public String get_id() {
        return _id;
    }

    public void set_id(String _id) {
        this._id = _id;
    }

    public Double getElevation() {
        return elevation;
    }

    public void setElevation(Double elevation) {
        this.elevation = elevation;
    }

    public Date getGpsTime() {
        return gpsTime;
    }

    public void setGpsTime(Date gpsTime) {
        this.gpsTime = gpsTime;
    }

    public Double getBear() {
        return bear;
    }

    public void setBear(Double bear) {
        this.bear = bear;
    }

    public Double getSpeed() {
        return speed;
    }

    public void setSpeed(Double speed) {
        this.speed = speed;
    }

}
